package com.fx.dao;

import com.fx.entity.Role;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * des:
 *
 * @author fxiao
 * @date 2020/12/11 16:57
 */
public interface RoleDao extends JpaRepository<Role,Long> {
    Role findByCode(String code);

}
